package com.local.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "equipment_to_medie")
public class EquipmentToMedie {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "uuid")
    private String uuid;

    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "equiment_uuid")
    private String equimentUuid;

    @Column(name = "view_url")
    private String viewUrl;

    @Column(name = "stream_")
    private String stream;

    @Column(name = "resolution")
    private String resolution;

    @Column(name = "equipment_view_stream")
    private String equipmentViewStream;

    @Column(name = "process_id")
    private String processId;

    @Column(name = "remaker_")
    private String remaker;

    @Column(name = "attr1")
    private String attr1;

    @Column(name = "attr2")
    private String attr2;

    @Column(name = "attr3")
    private String attr3;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getEquimentUuid() {
        return equimentUuid;
    }

    public void setEquimentUuid(String equimentUuid) {
        this.equimentUuid = equimentUuid == null ? null : equimentUuid.trim();
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public void setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl == null ? null : viewUrl.trim();
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream == null ? null : stream.trim();
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution == null ? null : resolution.trim();
    }

    public String getEquipmentViewStream() {
        return equipmentViewStream;
    }

    public void setEquipmentViewStream(String equipmentViewStream) {
        this.equipmentViewStream = equipmentViewStream == null ? null : equipmentViewStream.trim();
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId == null ? null : processId.trim();
    }

    public String getRemaker() {
        return remaker;
    }

    public void setRemaker(String remaker) {
        this.remaker = remaker == null ? null : remaker.trim();
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1 == null ? null : attr1.trim();
    }

    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2 == null ? null : attr2.trim();
    }

    public String getAttr3() {
        return attr3;
    }

    public void setAttr3(String attr3) {
        this.attr3 = attr3 == null ? null : attr3.trim();
    }
}